/**
 * FileName: OperationContext
 *
 * @author: 阿张
 * Date:     2021/3/3 15:35
 */
package com.qx.service;

import com.qx.pojo.Num;
import com.qx.pojo.Salo;
import com.qx.pojo.ScUser;
import com.qx.service.Distribution;

public class OperationContext {

    private Distribution distribution;

    public void setDistribution(Distribution distribution){
        this.distribution = distribution;
    }

    public Num doOperation(int needMoney, int minKnife, int maxKnife, ScUser scUser, Salo helpNum){
        return distribution.doOperation(needMoney, minKnife,maxKnife,scUser,helpNum);
    }

}
